package org.adream.account.dao;

import java.util.List;

import org.adream.account.entity.Dream2020DonornDreamCenterLinkEntity;
import org.apache.ibatis.annotations.Param;

@BaseMybatisDao
public interface Dream2020DonornDreamCenterDao {
	
	int addDream2020DonornDreamCenter(Dream2020DonornDreamCenterLinkEntity dream2020DonornDreamCenter);
	
	void deleteDream2020DonornDreamCenterById(@Param("donornId") String donornId, @Param("dcid") String dcid);
	
	void deleteDream2020DonornDreamCenterByDcId(@Param("dcid") String dcid);
	
	void updateDream2020DonornDreamCenter(Dream2020DonornDreamCenterLinkEntity dream2020DonornDreamCenter);
	
	Dream2020DonornDreamCenterLinkEntity queryDream2020DonornDreamCenterById(@Param("donornId") String donornId, @Param("dcid") String dcid);
	
	List<Dream2020DonornDreamCenterLinkEntity> queryDream2020DonornDreamCentersByDeleteTime(); 
}